<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('编辑督办')" />
</head>
<body>
<div class="main-content">
    <form id="form-work-edit" class="form-horizontal" th:object="${vo}">
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label is-required">收文日期：</label>
                    <div class="col-sm-8">
                        <input name="id" th:field="*{id}"  type="hidden">
                        <input type="text" name="swsjDate" th:field="*{swsjDate}"  class="time-input form-control" placeholder=""/>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">收文字号：</label>
                    <div class="col-sm-8">
                        <input type="text" name="swzh" th:field="*{swzh}" class="form-control" />
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">来文单位：</label>
                    <div class="col-sm-8">
                        <input  placeholder="" name="lwdw" th:field="*{lwdw}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">来文字号：</label>
                    <div class="col-sm-8">
                        <input  class="form-control"  th:field="*{lwzh}" name="lwzh" type="text" placeholder="">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label is-required">文件标题：</label>
                    <div class="col-sm-8">
                        <input  placeholder="" name="wjbt" th:field="*{wjbt}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">领导批示：</label>
                    <div class="col-sm-8">
                        <input placeholder="" name="ldps" th:field="*{ldps}" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">承办部门：</label>
                    <div class="col-sm-8">
                        <div class="input-group" style="width: 100%">
                            <select name="cbbm"  class="form-control m-b">
                                <option value="">--请选择--</option>
                                <option th:selected="*{cbbm  == '指挥'}" value="指挥">指挥</option>
                                <option th:selected="*{cbbm  == '政工'}" value="政工">政工</option>
                                <option th:selected="*{cbbm  == '专项'}" value="专项">专项</option>
                                <option th:selected="*{cbbm  == '宣传'}" value="宣传">宣传</option>
                                <option th:selected="*{cbbm  == '纪委'}" value="纪委">纪委</option>
                                <option th:selected="*{cbbm  == '综保'}" value="综保">综保</option>
                                <option th:selected="*{cbbm  == '一支队'}" value="一支队">一支队</option>
                                <option th:selected="*{cbbm  == '二支队'}" value="二支队">二支队</option>
                                <option th:selected="*{cbbm  == '三支队'}" value="三支队">三支队</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">首次报送时限：</label>
                    <div class="col-sm-8">
                        <input type="text" name="scbssjDate" th:field="*{scbssjDate}" class="time-input form-control" placeholder=""/>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">办结时限：</label>
                    <div class="col-sm-8">
                        <input type="text" class="time-input form-control" th:field="*{bjsjDate}" name="bjsjDate" placeholder=""/>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">办理状态：</label>
                    <div class="col-sm-8">
                        <div class="input-group" style="width: 100%">
                            <select name="blzt"  class="form-control m-b">
                                <option value="">--请选择--</option>
                                <option th:selected="*{blzt  == '未办理'}" value="未办理">未办理</option>
                                <option th:selected="*{blzt  == '正在办理'}" value="正在办理">正在办理</option>
                                <option th:selected="*{blzt  == '长期工作'}" value="长期工作">长期工作</option>
                                <option th:selected="*{blzt  == '已办结'}" value="已办结">已办结</option>
                                <option th:selected="*{blzt  == '不涉及'}" value="不涉及">不涉及</option>
                                <option th:selected="*{blzt  == '其他'}" value="其他">其他</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">办理进度：</label>
                    <div class="col-sm-8">
                        <input  placeholder="" name="bljd" th:field="*{bljd}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">承办人：</label>
                    <div class="col-sm-8">
                        <input placeholder="" name="cbr" th:field="*{cbr}" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">备注：</label>
                    <div class="col-sm-8">
                        <input  placeholder="" name="bz" th:field="*{bz}"  class="form-control" type="text">
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    $("#form-work-edit").validate({
        onkeyup: false,
        rules:{
            swsjDate:{
                required:true,
            },
            wjbt:{
                required:true,
            }
        }
    });
    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save("/saveEdit", $('#form-work-edit').serialize());
        }
    }
</script>
</body>
</html>